package com.own.component.util.database.model;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * DatabaseConfigModel
 *
 * @author chenxueli
 * @date 2022-10-15 12:18:00
 */
@Getter
@Builder
public class DatabaseConfigModel implements Serializable {

    @Builder.Default
    private final String url = "";

    @Builder.Default
    private final String username = "root";

    @Builder.Default
    private final String password = "";
    @Builder.Default
    private final String host = "127.0.0.1";
    @Builder.Default
    private final String port = "3306";
    @Builder.Default
    @Setter
    private String database = "";

}
